+ostree (2018.2-2) UNRELEASED; urgency=medium
+
+ * d/p/{debian/,}Use-Python-3-for-tests.patch:
+ Mark patch as forwarded. It was previously considered
+ Debian-specific, but upstream seem interested.
+ * Mark all other patches as applied upstream for 2018.3
+
+ -- Simon McVittie <smcv@debian.org> Thu, 22 Feb 2018 22:55:11 +0000
+
ostree (2018.2-1) unstable; urgency=medium
* New upstream release
--- /dev/null
+From: Simon McVittie <smcv@debian.org>
+Date: Wed, 17 Jan 2018 14:07:32 +0000
+Subject: Use Python 3 for tests
+
+Signed-off-by: Simon McVittie <smcv@debian.org>
+Forwarded: https://github.com/ostreedev/ostree/pull/1463
+---
+ tests/bootloader-entries-crosscheck.py | 2 +-
+ tests/test-basic-user-only.sh | 2 +-
+ tests/test-concurrency.py | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/tests/bootloader-entries-crosscheck.py b/tests/bootloader-entries-crosscheck.py
+index 5faa548..41f6956 100755
+--- a/tests/bootloader-entries-crosscheck.py
++++ b/tests/bootloader-entries-crosscheck.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python3
+ #
+ # Copyright (C) 2015 Red Hat
+ #
+diff --git a/tests/test-basic-user-only.sh b/tests/test-basic-user-only.sh
+index bea7b77..5f27014 100755
+--- a/tests/test-basic-user-only.sh
++++ b/tests/test-basic-user-only.sh
+@@ -28,7 +28,7 @@ extra_basic_tests=5
+ . $(dirname $0)/basic-test.sh
+
+ $CMD_PREFIX ostree --version > version.yaml
+-python -c 'import yaml; yaml.safe_load(open("version.yaml"))'
++python3 -c 'import yaml; yaml.safe_load(open("version.yaml"))'
+ echo "ok yaml version"
+
+ # Reset things so we don't inherit a lot of state from earlier tests
+diff --git a/tests/test-concurrency.py b/tests/test-concurrency.py
+index 3a0ce10..3ec3681 100755
+--- a/tests/test-concurrency.py
++++ b/tests/test-concurrency.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ #
+ # Copyright (C) 2017 Colin Walters <walters@verbum.org>
+ #
+++ /dev/null
-From: Simon McVittie <smcv@debian.org>
-Date: Wed, 17 Jan 2018 14:07:32 +0000
-Subject: Use Python 3 for tests
-
-Signed-off-by: Simon McVittie <smcv@debian.org>
----
- tests/bootloader-entries-crosscheck.py | 2 +-
- tests/test-basic-user-only.sh | 2 +-
- tests/test-concurrency.py | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/tests/bootloader-entries-crosscheck.py b/tests/bootloader-entries-crosscheck.py
-index 5faa548..41f6956 100755
---- a/tests/bootloader-entries-crosscheck.py
-+++ b/tests/bootloader-entries-crosscheck.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python
-+#!/usr/bin/python3
- #
- # Copyright (C) 2015 Red Hat
- #
-diff --git a/tests/test-basic-user-only.sh b/tests/test-basic-user-only.sh
-index bea7b77..5f27014 100755
---- a/tests/test-basic-user-only.sh
-+++ b/tests/test-basic-user-only.sh
-@@ -28,7 +28,7 @@ extra_basic_tests=5
- . $(dirname $0)/basic-test.sh
-
- $CMD_PREFIX ostree --version > version.yaml
--python -c 'import yaml; yaml.safe_load(open("version.yaml"))'
-+python3 -c 'import yaml; yaml.safe_load(open("version.yaml"))'
- echo "ok yaml version"
-
- # Reset things so we don't inherit a lot of state from earlier tests
-diff --git a/tests/test-concurrency.py b/tests/test-concurrency.py
-index 3a0ce10..3ec3681 100755
---- a/tests/test-concurrency.py
-+++ b/tests/test-concurrency.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- #
- # Copyright (C) 2017 Colin Walters <walters@verbum.org>
- #
test-concurrency-Replace-range-with-xrange.patch
test-concurrency-Explicitly-use-floor-division.patch
tests-bootloader-entries-crosscheck-Use-Python-3-friendly.patch
-debian/Use-Python-3-for-tests.patch
+Use-Python-3-for-tests.patch
future.
Signed-off-by: Simon McVittie <smcv@debian.org>
-Forwarded: https://github.com/ostreedev/ostree/pull/1457
+Applied-upstream: 2018.3, commit:98b597b465a556f3ad5b16478d7edee3037fbd4d
---
tests/test-concurrency.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Python 2, it just uses a bit more memory.
Signed-off-by: Simon McVittie <smcv@debian.org>
-Forwarded: https://github.com/ostreedev/ostree/pull/1457
+Applied-upstream: 2018.3, commit:02dc5e2dd47d1be0eb73d2f7e5b588f04c572390
---
tests/test-concurrency.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
This also works in Python 2.7, and is a little clearer.
Signed-off-by: Simon McVittie <smcv@debian.org>
-Forwarded: https://github.com/ostreedev/ostree/pull/1457
+Applied-upstream: 2018.3, commit:9933de232304f47e2be09c72906cc5183d9bbfda
---
tests/test-concurrency.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
return, and also works in Python 2.
Signed-off-by: Simon McVittie <smcv@debian.org>
-Forwarded: https://github.com/ostreedev/ostree/pull/1457
+Applied-upstream: 2018.3, commit:6cabeaed3f45c8f3e05fb5e1152bfa5b96a3bc79
---
tests/bootloader-entries-crosscheck.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)